body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    padding-bottom: 40px; /* 确保内容不会被底部导航遮挡 */
}

.header {
    background-color: #0084ff;
    color: white;
    padding: 60px 20px 20px; /* 顶部增加到60px */
    text-align: left; /* 左对齐 */
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左对齐 */
    margin-bottom: 10px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.username {
    font-size: 18px;
    font-weight: bold;
}

.user-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-left: 60px; /* 增加左边距，使其与头像和用户名对齐 */
}

.stat {
    flex: 1;
    /* text-align: center; */
    font-size: 14px;
    text-align: left; 
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
}

.menu-item {
    display: flex;
    align-items: center; /* 垂直居中对齐 */
    justify-content: space-between; /* 在主轴方向上分散对齐 */
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    color: #333;
}

.menu-item:last-child {
    border-bottom: none;
}
.menu-item span:last-child {
    margin-left: auto; /* 将“>”符号推到右侧 */
}

.menu-icon {
    width: 24px; /* 图标宽度 */
    height: 24px; /* 图标高度 */
    margin-right: 8px; /* 图标与文字之间的间距 */
    border: none; /* 移除图标的边框 */
    display: inline-block; /* 确保图片按需显示 */
}
.footer {
    display: flex;
    justify-content: space-around;
    background-color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid #ddd;
    padding: 10px 0;
}
body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

h1 {
    text-align: center;
}

canvas {
    max-width: 100%;
    margin: 0 auto;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
    padding: 10px;
    background: #f0f0f0;
    border: 1px solid #ccc;
}

.action-buttons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.action-buttons button {
    padding: 10px 20px;
    font-size: 16px;
}

#maintenanceDetails {
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #ddd;
}

